Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Adds method to remove file references from target - Issue 523 #801

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MSandel
Copy link

@MSandel MSandel commented Dec 24, 2020

Fixes #523

@CocoaPodsBarista
Copy link

1 Warning
⚠️ Please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.

Here's an example of your CHANGELOG entry:

* Adds method to remove file references from target - Issue 523  
  [MSandel](https://github.com/MSandel)
  [#issue_number](https://github.com/CocoaPods/CocoaPods/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by 🚫 Danger

@dnkoutso
Copy link
Contributor

Hi there, thanks for the PR! Can you add some tests for this new functionality?

@dnkoutso
Copy link
Contributor

dnkoutso commented Jul 2, 2021

Can you please add a test? Thanks!

# from the target.
#
def remove_file_references(file_references)
file_references.map do |file|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why map and not. each? the method doc above does not denote a return type.

@dnkoutso
Copy link
Contributor

ping @MSandel

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove file from a target
3 participants